﻿@using GC_RF.Domain.Constants
@using GC_RF.Site.Resources
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>@ViewBag.Title</title>
	<link href='http://fonts.googleapis.com/css?family=Audiowide:300,400,500,600,700,800' rel='stylesheet' type='text/css'>
	@{ Html.RenderPartial("Layout.Scripts"); }
	<!--[if lt IE 8]>
		<div style='clear: both; text-align:center; position: relative;'>
			<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" alt="" /></a>
		</div>
	<![endif]-->
</head>
<body>
	<img src="" alt="background" id="bg" style="display:none" />
	<div class="overlay-bg"></div>

	<div class="main-content">
		<div class="container">
			<div class="row">

				<div class="col-md-2 visible-md visible-lg">
					@Html.Action("Menu", "Home")
					@Html.Action("Panel", "Account")
				</div>

				<div class="col-md-10">

					<div class="row">
						<div class="col-md-12">
							<div class="logotip">
								<a href="@(WebBuilder.BuildActionUrl<HomeController>(m => m.Index()))" title="Real Football Manager">
									<img src="../../Content/Images/logo.png" alt="Genius">
								</a>
							</div>
						</div>
					</div>

					<div class="page-content">
						<div class="content">
							@RenderBody()
						</div>

						@Html.Partial("Footer")
					</div>
				</div>
			</div>
		</div>
	</div>
	@RenderSection("scripts", required: false)

	<script type="text/javascript">
		$(document).ready(function () {
			rf.layout.init({
				urls: {
				},
				vars: {
					images: [@Html.Raw(string.Join(Symbols.Comma, StaticResources.BgImages.Select(i => string.Concat(Symbols.Apostrophe, i, Symbols.Apostrophe))))]
				}
			});
		});
	</script>
</body>
</html>
